package com.sl.au.service.impl;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort.Direction;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Service;
import org.springframework.transaction.UnexpectedRollbackException;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.StringUtils;

import com.sl.au.entity.Account;
import com.sl.au.entity.EXDELoginInfo;
import com.sl.au.entity.Role;
import com.sl.au.entity.User;
import com.sl.au.repository.AccountRepository;
import com.sl.au.repository.EXDELoginInfoRepository;
import com.sl.au.repository.UserRepository;
import com.sl.au.repository.UserTrajectoryRepository;
import com.sl.au.repository.UserTrajectoryHistoryRepository;
import com.sl.au.service.AccountService;
import com.sl.au.service.ModuleService;
import com.sl.au.service.UserTrajectoryService;
import com.sl.au.service.UserTrajectoryHistoryService;

@Service("viewForUserTrajectoryService")
@Transactional
public class UserTrajectoryHistoryServiceImpl extends BaseServiceImpl implements UserTrajectoryHistoryService {

	@Autowired
	UserTrajectoryHistoryRepository viewForUserTrajectoryRepository;
	
	@Override
	public UserTrajectoryHistoryRepository getRepository() {
		return this.viewForUserTrajectoryRepository;
	}

}
